﻿namespace MyWordAddIn.Tool
{
    class ReceiveData<T>
    {
        public string cmd;

        public byte status;

        public T data;

        // socket 句柄
        public int fd;


        public ReceiveData(string cmd, byte status, T data, int fd = 0)
        {
            this.cmd = cmd;

            this.status = status;

            this.data = data;

            this.fd = fd;
        }

    }
}
